const TOKEN_KEY = "dg_token";
const ACTIVEPATH_KEY = "active_path";

export function SET_TOKEN(token) {
  sessionStorage.setItem(TOKEN_KEY, token);
}
export function GET_TOKEN() {
  return sessionStorage.getItem(TOKEN_KEY);
}
export function SET_ACTIVE_PATH(path) {
  sessionStorage.setItem(ACTIVEPATH_KEY, path);
}
export function GET_ACTIVE_PATH() {
  return sessionStorage.getItem(ACTIVEPATH_KEY);
}
